package com.ctshk.rpc.order.air.req.orderDetail;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * @BelongsProject: ctshk-cloud
 * @BelongsPackage: com.ctshk.rpc.order.air.req.orderDetail
 * @Author: hef
 * @CreateTime: 2021-04-07 15:31
 * @Description: 描述
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "AirOrderUpdateTourist对象", description = "机票订单修改旅客信息")
public class AirOrderUpdateTouristData implements Serializable {

    @NotNull(message = "旅客id必传")
    @ApiModelProperty(value = "旅客id",required = true)
    private Long id;

    @ApiModelProperty(value = "旅客凭证JSON")
    private String touristCertificateJson;

    @ApiModelProperty(value = "旅客姓")
    private String surname;

    @ApiModelProperty(value = "旅客名")
    private String name;

    @ApiModelProperty(value = "旅客姓名")
    private String touristName;

    @ApiModelProperty(value = "旅客国籍类型")
    private Long nationalityId;

    @ApiModelProperty(value = "旅客国籍类型名称")
    private String nationalityName;

    @ApiModelProperty(value = "性别")
    private Integer gender;

    @ApiModelProperty(value = "出生日期")
    private LocalDate birthday;

    @ApiModelProperty(value = "证件有效期至")
    private LocalDate vaildDate;

    @ApiModelProperty(value = "证件号码")
    private String certificatesNumber;

    @ApiModelProperty(value = "证件类型")
    private String certificatesType;

    @ApiModelProperty(value = "证件类型ID")
    private Long certificatesTypeId;

    @ApiModelProperty(value = "联系人手机区号id")
    private Long contactMobileAreaCodeId;

    @ApiModelProperty(value = "联系人手机区号")
    private String contactMobileAreaCode;

    @ApiModelProperty(value = "联系人手机")
    private String contactMobile;

    @ApiModelProperty(value = "称谓(1:先生;2:女士;3:小姐;4:男童;5:女童)")
    private Integer appellation;

    @ApiModelProperty(value = "会员号")
    private String vipNumber;
}
